<%--
  Created by IntelliJ IDEA.
  User: Sssller
  Date: 2021/1/21
  Time: 21:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>无标题文档</title>
</head>

<body>
<form action="" method="post">
    <table width="100%" border="1">
        <tr>
            <td colspan="2" align="center"><pre>TbPanelContent修改</pre></td>
        </tr>
        <tr>
            <td width="35%">所属板块id</td>
            <td width="65%"><label for="panelId"></label>
                <input type="text" name="panelId" id="panelId" value="${id.panelId}"></td>
            <input type="hidden" name="hiddenField" id="hiddenField" value="${id.id}"></td>
        </tr>
        <tr>
            <td>类型</td>
            <c:if test="${id.type==0}">checked</c:if>
            <td><input type="radio" name="type" id="type" value="0" <c:if test="${id.type==0}">checked</c:if>>
                <label for="type"></label>
                关联商品
                <input type="radio" name="type" id="type2" value="1" <c:if test="${id.type==1}">checked</c:if>>
                <label for="type2"></label>
                其他链接</td>
        </tr>
        <tr>
            <td>关联产品ID</td>
            <td><label for="productId"></label>
                <input type="text" name="productId" id="productId" value="${id.productId}"></td>
        </tr>
        <tr>
            <td>排序</td>
            <td><label for="sortOrder"></label>
                <input type="text" name="sortOrder" id="sortOrder" value="${id.sortOrder}"></td>
        </tr>
        <tr>
            <td>其他链接</td>
            <td><label for="fullUrl"></label>
                <input type="text" name="fullUrl" id="fullUrl" value="${id.fullUrl}"></td>
        </tr>
        <tr>
            <td>3D轮播图备用</td>
            <td><label for="picUrl"></label>
                <input type="text" name="picUrl" id="picUrl" value="${id.picUrl}"></td>
        </tr>
        <tr>
            <td>3D轮播图备用</td>
            <td><label for="picUrl2"></label>
                <input type="text" name="picUrl2" id="picUrl2" value="${id.picUrl2}"></td>
        </tr>
        <tr>
            <td>3D轮播图备用</td>
            <td><label for="picUrl3"></label>
                <input type="text" name="picUrl3" id="picUrl3" value="${id.picUrl3}"></td>
        </tr>
        <tr>
            <td>创建时间</td>
            <fmt:formatDate value="${id.created}" pattern="YYYY-MM-DD" var="c"></fmt:formatDate>
            <td><label for="created"></label>
                <input type="text" name="created" id="created" value="${c}" ></td>
        </tr>
        <tr>
            <td>更新时间</td>
            <fmt:formatDate value="${id.updated}" pattern="YYYY-MM-DD" var="c"></fmt:formatDate>
            <td><label for="updated"></label>
                <input type="text" name="updated" id="updated" value="${c}"></td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input type="submit" name="button" id="button" value="插入提交">
                <input type="reset" name="button2" id="button2" value="重置"></td>
        </tr>
    </table>
</form>
</body>
</html>
